function log()
{
    if (typeof console == "object" && console.log)
    {
        console.log.apply(console, arguments);
    }
}

